/**
 * 
 */
package com.ufida.ids.service;

import com.hereway.core.exception.ServiceException;
import com.hereway.core.service.IService;
import com.ufida.ids.model.UserMappingModel;

/**
 * @author kevin
 *
 */
public interface IUserMappingService extends IService<UserMappingModel, Long> {
	/**
	 * 根据员工编码和应用编码获取绑定关系
	 * @param staffCode
	 * @param appCode
	 * @return
	 * @throws ServiceException
	 */
	public UserMappingModel findByUserApp(String staffCode, String appCode) throws ServiceException;
	public UserMappingModel findByUserApp(Long staffId, Long appId) throws ServiceException;
}
